Salesforce Data Cloud Ingestion from Sitemaps - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

sitemap-app-capabilities

Source: ./src/main/resources/dwl/sitemap-app-capabilities.dwl

Mapping Tables

Provide the capabilities of the application for Organizaiton's Sitemaps

Source Field NameSitemaps Field NameMapping Description
applicationIdNAAPI AutoDiscoveryID from configuration file
sourceIdNASDC monitoring sitemaps domain name
sourceTypeNASource system name from configuration file
sourceNameresults.nameList of Sitemaps within the Organization's domain
descriptionNAApplication Title
isEventDrivenNADefault value true
isHierarchicalNADefault value false
supportedChangeModesNASupports PollFullRefresh
supportedChangeEventsNANo support for change events
supportedPaginationModeNANo support for pagination mode

(back to top)

map-full-refresh-response

Source: ./src/main/resources/dwl/map-full-refresh-response.dwl

Functions

fun getResourceName (location)

Extracts the last path element to use as the resource name.

param location The full location URL.
return The last path element.

Mapping Tables

This provides the content metadata details of resources maintained in the source system

Source Field NameSitemaps Field NameMapping Description
resourceChanges.applicationIdNAAPI AutoDiscoveryID from configuration file
resourceChanges.sourceIddomain.nameSDC monitoring sitemaps domain name
resourceChanges.sourceTypeNASource system name
resourceChanges.changeEventTypeNAType of event
resourceChanges.eventDateTimeNACurrent Timestamp
resourceChanges.resourceEntry.resourceIdresults.locSitemap Resource location
resourceChanges.resourceEntry.resourceTypeNAType of resource
resourceChanges.resourceEntry.resourceLocationresults.locationResource location
resourceChanges.resourceEntry.contentTypeNAResource content type
resourceChanges.resourceEntry.createdDateresults.lastmodResource creation date
resourceChanges.resourceEntry.createdByresults.authornameAuthor name
resourceChanges.resourceEntry.updatedDateresults.lastmodResource modification date
resourceChanges.resourceEntry.updatedByresults.authornameResource author id
resourceChanges.resourceEntry.isDeletedNAResource state as default false

(back to top)

map-full-refresh-relative-response

Source: ./src/main/resources/dwl/map-full-refresh-relative-response.dwl

Functions

fun getResourceName (location)

Extracts the last path element to use as the resource name.

param location The full location URL.
return The last path element.

Mapping Tables

This provides the content metadata details of resources maintained in the source system

Source Field NameSitemaps Field NameMapping Description
resourceChanges.applicationIdNAAPI AutoDiscoveryID from configuration file
resourceChanges.sourceIddomain.nameSDC monitoring sitemaps domain name
resourceChanges.sourceTypeNASource system name
resourceChanges.changeEventTypeNAType of event
resourceChanges.eventDateTimeNACurrent Timestamp
resourceChanges.resourceEntry.resourceIdresults.locSitemap Resource location
resourceChanges.resourceEntry.resourceTypeNAType of resource
resourceChanges.resourceEntry.resourceLocationresults.locationResource location
resourceChanges.resourceEntry.contentTypeNAResource content type
resourceChanges.resourceEntry.createdDateresults.lastmodResource creation date
resourceChanges.resourceEntry.createdByresults.authornameAuthor name
resourceChanges.resourceEntry.updatedDateresults.lastmodResource modification date
resourceChanges.resourceEntry.updatedByresults.authornameResource author id
resourceChanges.resourceEntry.isDeletedNAResource state as default false

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onNov 4, 2024
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.10
1.0.9